﻿<Window x:Class="LiSAClient.WpfClient.View.Frame.Windows.NotificationPopup"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="LiSA"
        WindowStyle="None" 
        WindowStartupLocation="CenterScreen" 
        AllowsTransparency="True" 
        ResizeMode="NoResize"
        Style="{StaticResource NotificationWindow}"
        Topmost="True">
    <Window.Resources>
        <ResourceDictionary Source="pack://application:,,,/LiSAClient.WpfClient;component/Resources/Themes/Default.xaml"/>
    </Window.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <Image Grid.Row="0" Grid.Column="0" Style="{StaticResource NotificationWindowImage}"/>

        <Label Grid.Row="0" Grid.Column="1" Content="{Binding Header}" Style="{StaticResource NotificationWindowHeader}"/>
        <ScrollViewer Grid.Row="1" Grid.Column="1" Style="{StaticResource NotificationScrollViewerStyle}">
            <TextBlock Text="{Binding Body}" Style="{StaticResource NotificationWindowBody}"/>
        </ScrollViewer>
        <Button Grid.Row="2" Grid.Column="1" Click="CloseButton_OnClick"
                Style="{StaticResource NotificationWindowCloseButton}" 
                Content="Luk"/>
    </Grid>
</Window>
